package cards;

/**
 * Class Player represents one player in the game
 * @author Vlada
 */
public class Player {
    //Player's name
    private final String name;
    //Player's cards in the hand
    private final Hand hand;
    
    /**
     * Constructor
     * @param name Player's name
     * @param numberOfCards Number of cards in the hand
     */
    public Player(String name, int numberOfCards) {
        this.name = name;
        hand = new Hand(numberOfCards);
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @return the hand
     */
    public Hand getHand() {
        return hand;
    }
    
    
}
